<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	>
<h:head>
		<h:outputStylesheet name="style.css" library="css" />
</h:head>
<h:body styleClass="indexBody">
	<div id="autentication">
	<h:graphicImage alt="jpg" url="/resources/img/logo.jpg"/>      
	<form action="../Cmaq/j_spring_security_check" method="post">	
		<h:panelGrid columns="2" style="margin-top:15px; margin-left:40px;">
			 <h:outputLabel style="font-family:  Arial; color: #1f595a;">#{msg.usuario} </h:outputLabel>
			 <input type='text' name='username'/>		  
			 <h:outputLabel style="font-family:  Arial; color: #1f595a;">#{msg.clave} </h:outputLabel>
			 <input type='password' name='password' />	 		 
		 </h:panelGrid>
		 <h:outputText></h:outputText>
		 <h:panelGrid columns="1" style="margin-left:120px;">
		     <input name="submit" type="submit"
							value="#{msg.botonAceptar}" />   
		       
	     </h:panelGrid>
	     <h:panelGrid columns="1" style="margin-left:70px;">
	     	<rich:messages id="msg" globalOnly="true"/>  
	     </h:panelGrid> 
	     <input type="hidden" name="${_csrf.parameterName}"
					value="${_csrf.token}" />
	</form>
	</div>
</h:body>
</html>
